﻿// /////////////////////////////////// 
//  
//  
//      WiseLink CCF2.0 
//     (c)Copyright 2001-2010 WiseLink Xiaojun (David) Chen 
//        Authored and Owned Xiaojun (David) Chen 
//        All Right Reserved
//  
// /////////////////////////////////// 

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Objects;
using System.Web.Script.Serialization;

namespace CCF20Model
{
    public static class SharedExtension
    {
        public static void SafeDelete(this ObjectContext context, object obj)
        {
            if (obj != null)
            {
                context.DeleteObject(obj);
            }
        }
        
    }
}
